package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 事业部对象 t_bussiness_dept
 *
 * @author ruoyi
 * @date 2023-07-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_bussiness_dept")
public class BussinessDept
{
    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    @Excel(name = "备注")
    private String remark;

}
